/**
 * 提款记录
 * Created by icyhy on 2017/5/22.
 */
var mongoose = require("mongoose");
var clanDepositSchema = new mongoose.Schema({
  clanId: String,//部落id
  userId: String,//用户id
  chargeAmount: Number,//钱数
  created: {
    type: Date,
    default: Date.now
  },
  used: {//是否启用
    type: Boolean,
    default: true
  }
});

var clanDepositModel = db.model("clanDeposit", clanDepositSchema);
module.exports = clanDepositModel;
